package com.jy.rhin.infra.repo.document.validation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jy.rhin.infra.repo.document.validation.po.DocumentValidationFilePo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 *
 */
@Mapper
@Repository
public interface DocumentValidationFileMapper extends BaseMapper<DocumentValidationFilePo> {

	@Select("select rule_num from t_document_validate_file where file_type = #{fileType}")
	Integer getRuleNum(@Param("fileType") String fileType);

}
